#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""A startup file for FlashFTP.

Signals an already running flashftp to start
a Browser if running, else imports flash.app
and creates a new Application.
"""
import sys
try:
    import dbus
except ImportError:
    dbus = None

def isrunning():
    return False

if isrunning():
    pass
else:
    from flash import app
    myapp = app.FlashFTPApp()
    myapp.new_connect_dialog()
    myapp.loop()
